package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@Table(name = "tbl_delivery_time_slot")
@NoArgsConstructor
@AllArgsConstructor
public class TblDeliveryTimeSlot extends BaseEntity {
    @Column(name = "dc_id")
    private String dcId;

    @Column(name = "dtl_start_time")
    private String dtlStartTime;

    @ApiModelProperty("HH:mm:ss")
    @Column(name = "cut_off")
    private String cutOff;

    @ApiModelProperty("当前时段最多可以配送的订单数量")
    @Column(name = "quantity_per_day")
    private Integer quantityPerDay;

    @Column(name = "dtl_end_time")
    private String dtlEndTime;

    @Column(name = "dtl_status")
    private Integer dtlStatus;

    @Column(name = "dtl_disp_order")
    private Integer dtlDispOrder;

    /**
     * 是否在 CMS 展示，默认 1，目前没地方可以修改
     */
    @Column(name = "dtl_is_show")
    @ApiModelProperty("是否在 CMS 展示，默认 1，目前没地方可以修改")
    private Integer dtlIsShow;

    /**
     * 快递方式 2:standard 3:express
     */
    @Column(name = "dtl_for_delivery_type")
    @ApiModelProperty("快递方式 2:standard 3:express")
    private Integer dtlForDeliveryType;

    /**
     * 星期天开始，1-7
     */
    @Column(name = "dtl_day")
    private Integer dtlDay;

    @Column(name = "dtl_fee_amount")
    private BigDecimal dtlFeeAmount;
}